#!/usr/bin/expect
set timeout -1

#spawn ./tarcode.sh

spawn  scp ./backend.tar.gz mengyi@139.xxx.xxxx:/home/mengyi
expect "*password:"
send "xxxxx\r"
interact

